Detecting Dominant Vanishing Points in Natural Scenes with Application to Composition-Sensitive Image Retrieval